package com.lagou.dubbo.service;

import com.lagou.dubbo.HelloServiceI;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class HelloServiceAPI {

    @Reference
    private HelloServiceI helloService;

    public String sayHello(String name, Integer waitTime) {
        return helloService.sayHello(name, waitTime);
    }
}
